home *** CD-ROM | disk | FTP | other *** search
Wrap
XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX)))) NNNNAAAAMMMMEEEE XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee - A compound string function that draws a compound string in an X Window and creates an image SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS ####iiiinnnncccclllluuuuddddeeee <<<<XXXXmmmm////XXXXmmmm....hhhh>>>> vvvvooooiiiidddd XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee ((((_d, _w, _f_o_n_t_l_i_s_t, _s_t_r_i_n_g, _g_c, _x, _y, _w_i_d_t_h, _a_l_i_g_n_m_e_n_t, _l_a_y_o_u_t__d_i_r_e_c_t_i_o_n, _c_l_i_p)))) DDDDiiiissssppppllllaaaayyyy * _d;;;; WWWWiiiinnnnddddoooowwww _w;;;; XXXXmmmmFFFFoooonnnnttttLLLLiiiisssstttt_f_o_n_t_l_i_s_t;;;; XXXXmmmmSSSSttttrrrriiiinnnngggg _s_t_r_i_n_g;;;; GGGGCCCC _g_c;;;; PPPPoooossssiiiittttiiiioooonnnn _x;;;; PPPPoooossssiiiittttiiiioooonnnn _y;;;; DDDDiiiimmmmeeeennnnssssiiiioooonnnn _w_i_d_t_h;;;; uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr_a_l_i_g_n_m_e_n_t;;;; uuuunnnnssssiiiiggggnnnneeeedddd cccchhhhaaaarrrr_l_a_y_o_u_t__d_i_r_e_c_t_i_o_n;;;; XXXXRRRReeeeccccttttaaaannnngggglllleeee* _c_l_i_p;;;; VVVVEEEERRRRSSSSIIIIOOOONNNN This page documents version 1.2 of the Motif library. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee draws a compound string in an X Window and paints both the foreground and background bits of each character. If a compound string segment uses a font list entry that defines a font set, the graphic context passed to this routine will have the GC font member left in an undefined state. The underlying XXXXmmmmbbbbSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwww function called by this routine modifies the font id field of the GC passed into it and does not attempt to restore the font id to the incoming value. If the compound string segment is not drawn using a font set, the graphic context must contain a valid font member. Graphic contexts created by XXXXttttGGGGeeeettttGGGGCCCC are not accepted by this routine; instead, use XXXXttttAAAAllllllllooooccccaaaatttteeeeGGGGCCCC to create a graphic context. _d Specifies the display. _w Specifies the window. _f_o_n_t_l_i_s_t Specifies the font list. _s_t_r_i_n_g Specifies the string. _g_c Specifies the graphics context to use. _x Specifies a coordinate of the rectangle that Page 1 (printed 4/30/98) XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV XXXXmmmmSSSSttttrrrriiiinnnnggggDDDDrrrraaaawwwwIIIImmmmaaaaggggeeee((((3333XXXX)))) will contain the displayed compound string. _y Specifies a coordinate of the rectangle that will contain the displayed compound string. _w_i_d_t_h Specifies the width of the rectangle that will contain the displayed compound string. _a_l_i_g_n_m_e_n_t Specifies how the string will be aligned within the specified rectangle. It is either XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____BBBBEEEEGGGGIIIINNNNNNNNIIIINNNNGGGG, XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____CCCCEEEENNNNTTTTEEEERRRR, or XXXXmmmmAAAALLLLIIIIGGGGNNNNMMMMEEEENNNNTTTT____EEEENNNNDDDD. _l_a_y_o_u_t__d_i_r_e_c_t_i_o_n Controls the direction in which the segments of the compound string will be laid out. It also determines the meaning of the _a_l_i_g_n_m_e_n_t parameter. _c_l_i_p Allows the application to restrict the area into which the compound string will be drawn. If NULL, no clipping will be done. RRRREEEELLLLAAAATTTTEEEEDDDD IIIINNNNFFFFOOOORRRRMMMMAAAATTTTIIIIOOOONNNN XXXXmmmmSSSSttttrrrriiiinnnnggggCCCCrrrreeeeaaaatttteeee((((3333XXXX)))). Page 2 (printed 4/30/98)